<?php

class Page_Header {

    private $div;

    function __construct() {
        $this->div = new Div_Container("id", "header");
        //$this->div->addContent("<p>header div</p>");
    }

    public function addContent($str) {
        $this->div->addContent($str);
    }

    public function toString() {
      
        //banner div
        $banner_div = new Div_Container("id", "banner");
        $green_bar_div = new Div_Container("id", "green_bar");
         
        $this->div->addContent($banner_div->toString());
        $this->div->addContent($green_bar_div->toString());
        return $this->div->toString();
    }

}

?>
